package com.huluobo.a2202mvvm_im_douyindemo.mvvmBase;

import com.huluobo.a2202mvvm_im_douyindemo.db.AppDBUtils;
import com.huluobo.a2202mvvm_im_douyindemo.db.UserDao;
import com.huluobo.a2202mvvm_im_douyindemo.mvvmBase.net.ApiService;
import com.huluobo.a2202mvvm_im_douyindemo.mvvmBase.net.RetrofitManager;
import com.hyphenate.chat.EMClient;

/**
 * Created by LC on 2024/4/19.
 */
public class BaseRepo {
    protected EMClient emClient;
    protected ApiService apiService;

    protected UserDao userDao;

    public BaseRepo() {
        emClient = EMClient.getInstance();
        apiService = RetrofitManager.getInstance().getRetrofit().create(ApiService.class);
        userDao = AppDBUtils.getInstance().getUserDao();
    }
}
